package com.geovis.emergency.spd.entity.basic.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 基础模块-组织架构
 * </p>
 *
 * @author Lonsho
 * @version 1.0
 * @date 2022/6/28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("basic_duty_org")
@ApiModel(value = "BasicDutyOrg对象", description = "基础模块-组织架构")
public class BasicDutyOrg extends BaseSpdEntity {
    @ApiModelProperty(value = "父主键")
    private String parentId;

    @ApiModelProperty(value = "组织名")
    private String orgName;

    @ApiModelProperty(value = "组织全称")
    private String fullName;

    @ApiModelProperty(value = "排序")
    private Integer idx;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "祖级列表")
    private String ancestors;

    @ApiModelProperty(value = "角色id集合（多天以,分隔）")
    private String roleIds;

    @ApiModelProperty(value = "职责")
    private String duty;

}
